package com.renwei.yunlong.bean;

import java.util.List;

/**
 * Created by wangqi on 2017/12/20.
 */

public class DepartBean {

    private MessageBean message;
    private int total;
    private List<RowsBean> rows;

    public MessageBean getMessage() {
        return message;
    }

    public void setMessage(MessageBean message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class MessageBean {
        /**
         * code : 200
         * message : 操作成功！
         */

        private int code;
        private String message;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }

    public static class RowsBean  {

        private int index;
        private int conuntEmployee;
        private String departmentId;
        private String departmentName;
        private List<RowsBean> children;

        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }

        public int getConuntEmployee() {
            return conuntEmployee;
        }

        public void setConuntEmployee(int conuntEmployee) {
            this.conuntEmployee = conuntEmployee;
        }

        public String getDepartmentId() {
            return departmentId;
        }

        public void setDepartmentId(String departmentId) {
            this.departmentId = departmentId;
        }

        public String getDepartmentName() {
            return departmentName;
        }

        public void setDepartmentName(String departmentName) {
            this.departmentName = departmentName;
        }

        public List<RowsBean> getChildren() {
            return children;
        }

        public void setChildren(List<RowsBean> children) {
            this.children = children;
        }
    }
}
